#include <stdio.h>
int main() {
  int a, b;
  freopen("A.in", "r", stdin);
  freopen("A.out", "w", stdout);
  while (2 == scanf("%d%d", &a, &b))
    printf("%d\n", a + b);
  return 0;
}
